package com.example.my_invitation_service.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 域名表
 * @TableName domainname
 */
@TableName(value ="domainname")
@Data
public class Domainname implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 域名名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * tcp
     */
    @TableField(value = "tcp")
    private String tcp;

    /**
     * 启动 0关闭 ，1启动
     */
    @TableField(value = "activate")
    private Integer activate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}